package com.example.permission;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class PermissionApplication {

    private static final Logger logger = LogManager.getLogger(PermissionApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(PermissionApplication.class, args);
        logger.info("✅ 权限系统启动成功：RBAC + 注解式接口权限控制已启用");
    }
}
